package mapper.marketingMapper;

import entity.marketingEntity.BrandMarketingCondition;
import entity.marketingEntity.Brandmarketing;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandmarketingMapper {
    List<Brandmarketing> selectAll(BrandMarketingCondition condition);
    int deleteByPrimaryKey(Integer brandmarketing_id);

    int insert(Brandmarketing record);

    int insertSelective(Brandmarketing record);

    Brandmarketing selectByPrimaryKey(Integer brandmarketing_id);

    int updateByPrimaryKeySelective(Brandmarketing record);

    int updateByPrimaryKey(Brandmarketing record);

    int updateBrandMarkingRecommend(@Param("id") Integer id,@Param("recommend")  Integer recommend);

    int updateBrandMarkingSort(@Param("id") Integer id,@Param("sort")  Integer sort);
}